<template>
    <div class="downloadSheet">
        <div class="navContent">
            <div class="backcontent" @click="handleBack">
                <i class="el-icon-back"></i>
                <div>返回</div>
            </div>

            <div class="title">
                下载学生单词自测表
            </div>
        </div>

        <div class="content_box">
            <div class="topBox">
                <div class="topBox_left">
                    请选择测试对象：
                </div>

                <div class="topBox_right">
                    <div class="btn">
                        下载单个学生全部自测表
                    </div>
                    <div class="btn">
                        下载最近1次自测表
                    </div>
                    <div class="btn btns">
                        下载最近10次自测表
                    </div>
                </div>
            </div>

            <div class="heng"> </div>


            <div class="studentList">
                <div class="student_item" v-for="(item, index) in 10" :key="index">
                    <div class="useriInfo">
                        <img src="@/static/image/logo.png" alt="" srcset="">
                        <div>
                            <div class="name">
                                妍与韩
                            </div>
                            <div class="moblie">
                                131****7778
                            </div>
                        </div>

                    </div>
                    <div class="tip">
                        上次自测：2024-02-12
                    </div>
                    <div class="tip">
                        已自测0次 共0词
                    </div>

                </div>

            </div>


        </div>

    </div>
</template>

<script>
export default {
    data() {
        return {

        }
    },
    methods: {
        handleBack() {
            this.$router.go(-1)
        },
    }
}
</script>

<style scoped lang="scss">
.downloadSheet {
    width: 100%;
    padding: 20px;
    box-sizing: border-box;

    .navContent {
        display: flex;
        align-items: center;
        font-family: Alibaba PuHuiTi, Alibaba PuHuiTi;
        font-weight: 400;
        font-size: 14px;
        color: #777777;
        line-height: 16px;

        .backcontent {
            display: flex;
            align-items: center;
            cursor: pointer;

        }

        .title {
            margin-left: 30px;
        }
    }

    .content_box {
        width: 100%;
        background: #FFFFFF;
        border-radius: 4px 4px 4px 4px;
        padding: 16px;
        box-sizing: border-box;
        margin-top: 20px;

        .topBox {
            display: flex;
            align-items: center;
            justify-content: space-between;


            .topBox_left {
                font-family: PingFang SC, PingFang SC;
                font-weight: 500;
                font-size: 14px;
                color: #333333;
                line-height: 16px;

            }

            .topBox_right {
                display: flex;

                .btn {
                    width: 189px;
                    height: 40px;
                    border-radius: 4px 4px 4px 4px;
                    border: 1px solid #4BA840;
                    font-family: PingFang SC, PingFang SC;
                    font-weight: 500;
                    font-size: 12px;
                    color: #4BA840;
                    line-height: 40px;
                    text-align: center;
                    margin-left: 12px;
                    cursor: pointer;
                }

                .btns {
                    background-color: #4BA840;
                    color: #ffffff;
                }
            }
        }


        .heng {
            width: 100%;
            height: 1px;
            background-color: #EEEEEE;
            margin: 16px 0;
        }

        .studentList {
            width: 100%;
            display: flex;
            flex-wrap: wrap;

            .student_item {
                width: 217px;
                height: 127px;
                background: #F4F4F4;
                border-radius: 4px 4px 4px 4px;
                border: 1px solid #AAAAAA;
                margin-right: 10px;
                margin-bottom: 10px;
                cursor: pointer;
                padding: 14px;
                box-sizing: border-box;

                .useriInfo {
                    display: flex;
                    align-items: center;
                    margin-bottom: 10px;

                    img {
                        width: 44px;
                        height: 44px;
                        border-radius: 44px;
                    }

                    .name {
                        font-family: PingFang SC, PingFang SC;
                        font-weight: 400;
                        font-size: 12px;
                        color: #333333;
                        line-height: 20px;
                    }

                    .moblie {
                        font-family: PingFang SC, PingFang SC;
                        font-weight: 400;
                        font-size: 12px;
                        color: #777777;
                        line-height: 20px;
                    }
                }

                .tip {
                    font-family: PingFang SC, PingFang SC;
                    font-weight: 400;
                    font-size: 12px;
                    color: #AAAAAA;
                    line-height: 20px;
                    margin-top: 4px;
                }
            }
        }

    }


}
</style>